// type
// integer
// 可选
// 维修类型 0=居家报修 1=公共报事 2=幸福随手拍

// feeType
// integer
// 可选
// 收费类型 0=免费服务 1=线上收费服务 2=线下收费
export const feeTypeOptions = [
  { value: 0, label: "免费服务" },
  { value: 1, label: "线上收费服务" },
  { value: 2, label: "线下收费" },
];
export const feeTypeMap = feeTypeOptions.reduce((prev, cur) => {
  prev[cur.value] = cur.label;
  return prev;
}, {});

export const typeOptions = [
  { value: 0, label: "居家报修" },
  { value: 1, label: "公共报事" },
  { value: 2, label: "幸福随手拍" },
];
export const typeMap = typeOptions.reduce((prev, cur) => {
  prev[cur.value] = cur.label;
  return prev;
}, {});
// 状态1=待分派 2=待收款  3=已派单 4=已关闭 5=已完成
export const statusOptions = [
  { value: 1, label: "待分派" },
  { value: 2, label: "待收款" },
  { value: 3, label: "已派单" },
  { value: 4, label: "已关闭" },
  { value: 5, label: "已完成" },
];
export const statusMap = statusOptions.reduce((prev, cur) => {
  prev[cur.value] = cur.label;
  return prev;
}, {});
